export type SearchParams = {
  dept_name?: string
  dept_status?: number
}

export type DeptItem = {
  dept_id: number
  parent_id: number
  dept_type: number
  dept_name: string
  dept_status: number
  create_time: string
  children: Children
}

export type Children = {}

export type DeptIdParam = {
  id: number
}

export type DeptByIdParams = {
  dept_id: number
}

export type DeptParam = {
  dept_id?: number
  parent_id?: number
  dept_type?: number
  dept_name?: string
  dept_status?: number
}

export type VoListItem = {
  dept_id: number
  parent_id: number
  dept_name: string
}
